package com.demo.core.service.exception;

import com.demo.core.service.exception.base.ObjectAlreadyExistedException;

/**
 * 用户已经存在异常
 * 
 * @author ryuu.kk
 *
 */
public class UserAlreadyExistedException extends ObjectAlreadyExistedException {

	/**
	 * 序列化对象
	 */
	private static final long serialVersionUID = 4386859449447553902L;
	
	public String i18n;
	
	/**
	 * 构造函数
	 * @param target Member对象
	 * @param message 异常消息
	 */
	public UserAlreadyExistedException(Object target, String message) {
		super(target, message);
	}
	
	/**
	 * 构造函数
	 * @param target Member对象
	 * @param message 异常消息
	 * @param cause Throwable
	 */
	public UserAlreadyExistedException(Object target, String message, Throwable cause) {
		super(target, message, cause);
	}
	
	public String getI18n() {
		return i18n;
	}
	public void setI18n(String i18n) {
		this.i18n = i18n;
	}
}
